#ifndef EXCELFILE_H
#define EXCELFILE_H

#include "frequencelist.h"
#include "programlist.h"


class ExcelFile
{
public:
    ExcelFile();

    static bool load(const std::string& filepath, tv::FrequenceList& freqList);

    static bool save(const tv::FrequenceList& freqList, const std::string& filepath);

    static bool load(const std::string& filepath, tv::ProgramList& programList);

    static bool save(const tv::ProgramList& programList, const std::string& filepath);

};

#endif // EXCELFILE_H
